package cn.liontalk.enums;

import lombok.Getter;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description
 * @date 2019-04-17 20:51
 **/
@Getter
public enum ResultEnums {

    PARAM_ERROR(1, "参数错误"),
    CART_EMPTY(2, "购物车为空");

    private Integer code;

    private String message;

    ResultEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
